package com.aldd.entity;

public class Student {
    private String studentName;
    private int age;
    private String teacher;

    public Student() {
    }

    public Student(String studentName, int age, String teacher) {
        this.studentName = studentName;
        this.age = age;
        this.teacher = teacher;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentName='" + studentName + '\'' +
                ", age=" + age +
                ", teacher='" + teacher + '\'' +
                '}';
    }
}
